﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Classrooms.Dto;
using Akso.Dto;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Classrooms
{
    public interface IClassroomAppService: IApplicationService
    {
        Task<ListResultDto<ClassroomListDto>> GetObjects(GetClassroomsInput input);
        Task<ClassroomEntity> CreateOrUpdateObject(CreateOrUpdateClassroomInput input);
        Task DeleteObject(EntityDto<Guid> input);
        /// <summary>
        /// 在新增、编辑数据的弹出对话框中，获取对象的数据。
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetClassroomForEditOutput> GetObjectForEdit(NullableIdDto<Guid> input);
        Task<FileDto> GetObjectsToExcel(GetClassroomsInput input);

    }
}
